#include "BoyerMore.h"

int main(int argc, char **argv)
{

	char *text ="My name is xinzaibing, what is your name ?";
	char *pattern="xinzaibing";

	char *result = boyerMore(pattern, text, strlen(text));

	if(result==null)
		printf("Not found the word\n");
	else 
		printf("Result:%s\n", result);
	getchar();
	return 0;
}
